﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Problema2
{
    class ConcreteComputerPartMonitor : AbstractComputerPart        // AbstractFacotry Pattern
    {
        private int inch;
        public int Inch { get { return inch; } set { inch=Inch; } }
        
        public ConcreteComputerPartMonitor()
        {
            Console.WriteLine("Monitor (inch) =");
            inch = Int32.Parse(Console.ReadLine());
        }
        public ConcreteComputerPartMonitor(ConcreteComputerPartMonitor t) { inch = t.inch; }
    }
}
